﻿HẠ PING v1.7 — Tối ưu mạng trên máy tính cho game, đạt ping thấp nhất
==========================================================================

LƯU Ý QUAN TRỌNG
Đây là phần mềm TỐI ƯU MẠNG TRÊN MÁY TÍNH, KHÔNG phải phần mềm giảm ping bằng
định tuyến như ExitLag, NoPing, WTFast... Phần mềm không thay đổi đường đi của dữ
liệu, nên không thể làm ping thấp hơn giới hạn của nhà mạng và khoảng cách tới server.

DÙNG CHO GAME NÀO
Mọi game online trên máy tính. Có sẵn danh sách: VALORANT, Liên Minh Huyền Thoại /
ĐTCL, Counter-Strike 2, Dota 2, PUBG, FC Online, Apex Legends, Overwatch 2, Fortnite,
Rainbow Six Siege, Call of Duty, Naraka, Đột Kích, Rocket League, Genshin Impact,
Roblox. Game khác: bấm "Danh sách game" -> "Thêm game" -> chọn từ app đang mở hoặc
chọn file .exe của game.

PHẦN MỀM LÀM GÌ
- Hạ ping ngay, không cần khởi động lại máy: tạm dừng Windows Update / tải ngầm,
  đóng app đồng bộ (OneDrive, Google Drive, Dropbox, torrent), xoá cache DNS/ARP,
  khởi động lại card mạng.
- Sửa vĩnh viễn: tắt Fast Startup, tắt chế độ tiết kiệm điện của card mạng
  (Green Ethernet, EEE, Gigabit Lite...), tắt tiết kiệm điện PCI Express (ASPM).
  Phần mềm lưu lại giá trị cũ trước khi sửa; nút "Khôi phục cài đặt gốc" đưa từng
  mục về như cũ (không có bản lưu thì về mặc định Windows / driver).
- Chế độ chơi game: chạy ngầm, tự tạm dừng Windows Update & app đồng bộ khi bạn mở
  một game trong danh sách, theo dõi ping mỗi giây và cho biết mỗi lần giật là do
  trong nhà, đường truyền nhà mạng hay tuyến tới máy chủ. Tắt game là trả lại như cũ.
- Biểu đồ ping: hiện icon + tên game. Ô chọn game:
  + "Tự động": game nào đang trong trận thì biểu đồ theo game đó (kể cả khi mở
    cùng lúc launcher như Riot Client / Steam và game).
  + Chọn một game cụ thể (game có dấu ● là đang chạy): biểu đồ chỉ theo game đó.
  Ô chọn máy chủ:
  + "Tự động (máy chủ game)": phần mềm tự tìm đúng máy chủ mà game đang kết nối
    khi bạn vào trận và đo ping tới máy chủ đó. Ở sảnh / menu chưa có máy chủ trận
    đấu thì tạm đo tới Singapore.
  + Singapore / Hong Kong / Tokyo / Mumbai / Sydney: đo tới khu vực bạn chọn.
  Một số máy chủ game chặn ping (ví dụ máy chủ Riot): khi đó phần mềm đo tới router
  cuối cùng còn trả lời trên đường tới máy chủ (nếu router đó đã ở ngoài Việt Nam) —
  ping thật trong game có thể cao hơn vài ms; hoặc báo rõ là không đo trực tiếp được
  và đo tới khu vực bạn chọn.
- Nhẹ: chạy ngầm chỉ quét danh sách tiến trình 3 giây/lần, tìm máy chủ theo từng đợt
  3 giây, tự trả lại RAM khi thu nhỏ xuống khay hệ thống.

CÁCH DÙNG
1. Giải nén, mở HaPing.exe, chọn "Yes" khi Windows hỏi quyền Administrator.
   Lần đầu mở: đọc và đồng ý Điều khoản sử dụng (không đồng ý thì phần mềm thoát).
2. Nếu Windows hiện cảnh báo SmartScreen ("Windows protected your PC"):
   bấm "Thông tin bổ sung / More info" -> "Vẫn chạy / Run anyway".
   Phần mềm chưa có chữ ký số nên Windows cảnh báo; một số phần mềm diệt virus
   cũng có thể cảnh báo nhầm vì phần mềm cần quyền Admin, tạm dừng Windows Update
   và khởi động lại card mạng.
3. Lần đầu: nếu mục "Sửa vĩnh viễn" có dòng màu vàng, bấm "Áp dụng sửa vĩnh viễn".
4. Bật "Chế độ chơi game" nếu muốn phần mềm tự lo mỗi khi chơi. Kiểm tra game của
   bạn có trong "Danh sách game" chưa.
5. Đổi ngôn ngữ Tiếng Việt / English ở góc trên bên phải.

GHI CHÚ
- Khi hạ ping, mạng ngắt khoảng 5-10 giây. Đừng bấm khi đang trong trận.
- Bảng "Trước / Sau" khi hạ ping đo tới server AWS Singapore / Hong Kong làm mốc
  tham chiếu. Biểu đồ trực tiếp đo theo máy chủ bạn chọn (mặc định: máy chủ game).
- Không thu thập dữ liệu cá nhân. Để biết máy chủ game, phần mềm chỉ xem game đang
  kết nối tới địa chỉ nào ngay trên máy bạn, không gửi đi đâu.
- Chênh lệch ping dưới 3 ms giữa hai lần đo là dao động bình thường.
- Yêu cầu: Windows 10 hoặc 11 (có sẵn .NET Framework 4.8).
- Lưu file log là tuỳ chọn, mặc định tắt.
- Phần mềm miễn phí, cung cấp nguyên trạng, không kèm bảo hành.

ĐIỀU KHOẢN SỬ DỤNG (tóm tắt — bản đầy đủ hiện khi mở phần mềm lần đầu)
- Phần mềm miễn phí; ủng hộ tác giả là tự nguyện.
- Không thu thập thông tin cá nhân, không chứa virus / mã độc / quảng cáo.
  Chỉ tải từ nguồn chính thức của tác giả.
- Bản quyền thuộc NGO LE DUC HIEP. Được chia sẻ miễn phí bản gốc nguyên vẹn.
  Nghiêm cấm sao chép, chỉnh sửa, dịch ngược, đóng gói lại, bán hoặc thu phí khi
  chưa được tác giả đồng ý; người vi phạm tự chịu trách nhiệm trước pháp luật.
- Phần mềm cung cấp nguyên trạng, không kèm bảo hành; người dùng tự chịu trách nhiệm.

ỦNG HỘ TÁC GIẢ
Nếu thấy hữu ích, bạn có thể ủng hộ qua nút "Ủng hộ tác giả" trong phần mềm
(có mã VietQR) hoặc chuyển khoản:
    Ngân hàng:      VietinBank
    Chủ tài khoản:  NGO LE DUC HIEP
    Số tài khoản:   109873507473
Cảm ơn bạn rất nhiều!

LIÊN HỆ
Facebook: https://www.facebook.com/hiep.ngoleduc.5/


==========================================================================
HA PING v1.7 — PC network optimizer for gaming, for the lowest possible ping
==========================================================================

IMPORTANT
This is a PC NETWORK OPTIMIZER, NOT a routing-based ping reducer like ExitLag,
NoPing or WTFast. It does not change how your data travels, so it cannot push
ping below the limit set by your ISP and the distance to the server.

WHICH GAMES
Any online PC game. Built-in list: VALORANT, League of Legends / TFT,
Counter-Strike 2, Dota 2, PUBG, FC Online, Apex Legends, Overwatch 2, Fortnite,
Rainbow Six Siege, Call of Duty, Naraka, CrossFire, Rocket League, Genshin Impact,
Roblox. Other games: click "Game list" -> "Add game" -> pick it from running apps
or browse for the game's .exe.

WHAT IT DOES
- Fix ping now, without rebooting: pauses Windows Update / background downloads,
  closes sync apps (OneDrive, Google Drive, Dropbox, torrent clients), clears the
  DNS/ARP cache and restarts the network adapter.
- Permanent fixes: turns off Fast Startup, network adapter power saving
  (Green Ethernet, EEE, Gigabit Lite...) and PCI Express power saving (ASPM).
  The app saves the old values before changing them; "Restore original settings"
  puts each item back (Windows / driver defaults if there is no saved copy).
- Game mode: runs in the background, pauses Windows Update & sync apps while a game
  from the list is open, monitors ping every second and tells you whether each
  spike came from your home network, your internet line or the route to the server.
  Everything is restored when the game closes.
- Ping chart: shows the game's icon and name. Game picker:
  + "Auto": follows whichever game is in a match (even with a launcher such as
    Riot Client / Steam open at the same time).
  + Pick a specific game (● = running): the chart follows only that game.
  Server picker:
  + "Auto (game server)": finds the exact server your game is connected to once
    you're in a match and measures ping to it. In the lobby / menu there is no
    match server yet, so it measures Singapore for now.
  + Singapore / Hong Kong / Tokyo / Mumbai / Sydney: measures the region you pick.
  Some game servers block ping (e.g. Riot's): the app then measures the last router
  that still answers on the way to the server (if it's already outside Vietnam) —
  real in-game ping may be a few ms higher; or it says clearly that the server can't
  be measured directly and measures your chosen region instead.
- Lightweight: in the background it scans the process list every 3 seconds, looks
  for the server in short 3-second bursts and gives RAM back when minimized to tray.

HOW TO USE
1. Unzip, run HaPing.exe and click "Yes" when Windows asks for administrator rights.
   First run: read and accept the Terms of use (if you decline, the app exits).
2. If Windows SmartScreen shows "Windows protected your PC", click
   "More info" -> "Run anyway". The app is not code-signed; some antivirus tools
   may also flag it by mistake because it needs admin rights, pauses Windows
   Update and restarts the network adapter.
3. First run: if "Permanent fixes" shows yellow items, click "Apply permanent fixes".
4. Turn on "Game mode" to let the app handle things whenever you play. Check that
   your game is in the "Game list".
5. Switch between Tiếng Việt / English in the top-right corner.

NOTES
- Fixing ping disconnects the network for about 5-10 seconds. Don't use it mid-match.
- The "Before / After" table measures AWS Singapore / Hong Kong as a reference.
  The live chart measures the server you pick (default: the game server).
- No personal data is collected. To find the game server, the app only looks at
  which address the game connects to, locally on your PC; nothing is sent anywhere.
- A difference under 3 ms between two measurements is normal fluctuation.
- Requires Windows 10 or 11 (.NET Framework 4.8 is built in).
- Saving log files is optional and off by default.
- Free software, provided as is, without warranty.

TERMS OF USE (summary — the full text is shown the first time you run the app)
- Free software; supporting the author is voluntary.
- No personal data collection, no viruses / malware / ads.
  Only download it from the author's official source.
- Copyright NGO LE DUC HIEP. You may share the original, unmodified copy for free.
  Copying, modifying, decompiling, repackaging, selling or charging for it without
  the author's permission is prohibited; violators are responsible under the law.
- Provided as is, without warranty; you use it at your own risk.

SUPPORT THE AUTHOR
If it helped you, use the "Donate" button in the app (VietQR code) or transfer to:
    Bank:            VietinBank
    Account name:    NGO LE DUC HIEP
    Account number:  109873507473
Thank you so much!

CONTACT
Facebook: https://www.facebook.com/hiep.ngoleduc.5/
